#afui #navbar {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 46px;
    background-color: #283030;
}
    #afui #navbar > * > *, #afui #navbar > a, #afui #navbar > span {
        position: relative;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        display: inline-block;
        float: left;                                                   
        width: 20%;
        height: 100%;
        font-weight: normal;
        color: #fff;
        text-align: center;
        -webkit-backface-visibility: hidden;
        -webkit-perspective: 1000;
        font-size: 12px;
        line-height: 65px;
        background-position: center 3px;
        background-repeat: no-repeat;
        background-size:22px;
    }
  
    #afui #navbar span > span {
        display: none;
        position: absolute;
        bottom: 85px;
        left: -20%;
        right: 0px;
        z-index: 1001;
        border-radius: 5px;
        width: 140%;
        background: #2a2a28;
        line-height: 3em;
    }
    #afui #navbar span:first-child > span {
        left: -3%;
    }

    #afui #navbar span:last-child > span {
        left: -45%;
    }
    #afui #navbar span > span::after {
        content: "";
        display: block;
        position: absolute;
       left: 40%;
        bottom: -5px;
        z-index: -1;
        width: 20px;
        height: 20px;
        background-color: inherit;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    #afui #navbar .on > span {
        display: block;
    }

@keyframes myfirst {
    from {
        -webkit-transform: translate3d(0, 200px, 0);
    }

    to {
        -webkit-transform: translate3d(0, 0px, 0);
    }
}

@-moz-keyframes myfirst /* Firefox */
{
    from {
        -webkit-transform: translate3d(0, 200px, 0);
    }

    to {
        -webkit-transform: translate3d(0, 0px, 0);
    }
}

@-ms-keyframes myfirst /* Safari บอ Chrome */
{
    from {
        -webkit-transform: translate3d(0, 200px, 0);
    }

    to {
        -webkit-transform: translate3d(0, 0px, 0);
    }
}

@-webkit-keyframes myfirst /* Safari บอ Chrome */
{
    from {
        -webkit-transform: translate3d(0, 200px, 0);
    }

    to {
        -webkit-transform: translate3d(0, 0px, 0);
    }
}

#afui #navbar .on > * {
    animation: myfirst 0.5s ease-out;
    -moz-animation: myfirst 0.5s ease-out;
    -ms-animation: myfirst 0.5s ease-out;
    -webkit-animation: myfirst 0.5s ease-out;
}

#afui #navbar span a {
    display: block;
    overflow:hidden;
    width: 100%;

    color: #ffffff;
   white-space:nowrap;
   background-image:none;
}

    #afui #navbar span a:not(:first-child) {
        border-top: 1px solid #2e2e2c;
    }

#afui #navbar .pressed {
    background-color: #00AEEF;
}

#afui #navbar .icon_03 {
    background-image:url(../images/icon_03.png);
}
     #afui #navbar .icon_05 {
    background-image:url(../images/icon_05.png);
}           #afui #navbar .icon_07 {
    background-image:url(../images/icon_07.png);
}             #afui #navbar .icon_09 {
    background-image:url(../images/icon_09.png);
}